home *** CD-ROM | disk | FTP | other *** search
-
-
-
- wwwwmmmmppppaaaacccckkkk((((3333GGGG)))) wwwwmmmmppppaaaacccckkkk((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- wwwwmmmmppppaaaacccckkkk - specifies RGBA writemask with a single packed integer
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee wwwwmmmmppppaaaacccckkkk((((ppppaaaacccckkkk))))
- iiiinnnntttteeeeggggeeeerrrr****4444 ppppaaaacccckkkk
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _p_a_c_k expects a packed integer containing the RGBA (red, green, blue,
- alpha) values you want to assign as the current write mask.
- Expressed in hexadecimal, the format of the packed integer is
- $_a_a_b_b_g_g_r_r, where:
-
- _a_a is the alpha value,
- _b_b is the blue value,
- _g_g is the green value, and
- _r_r is the red value.
-
- RGBA component values range from 0 to $FF (255).
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- wwwwmmmmppppaaaacccckkkk sets the red, green, blue, and alpha write mask components of the
- currently active GL framebuffer, one of normal, popup, overlay, or
- underlay as specified by ddddrrrraaaawwwwmmmmoooo. The current framebuffer must be in RGB
- mode for the wwwwmmmmppppaaaacccckkkk command to be applicable. All drawing into the color
- bitplanes of the current framebuffer is masked by the current write mask.
- Write mask components are retained in each draw mode, so when a draw mode
- is re-entered, the red, green, blue, and alpha masks are reset to the
- last values specified in that draw mode.
-
- Each write mask component is an 8-bit mask, which allows changes only to
- bitplanes corresponding to ones in the mask. For example,
- wwwwmmmmppppaaaacccckkkk(((($$$$FFFFFFFF0000000000000000FFFF0000)))) allows changes only to the 4 most significant bits of
- red, and to all the bits of alpha.
-
- It is an error to call wwwwmmmmppppaaaacccckkkk while the current framebuffer is in color
- map mode.
-
- The write mask components of all framebuffers in RGB mode are set to $FF
- when ggggccccoooonnnnffffiiii is called.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- cpack, drawmo, gRGBma, RGBmod
-
- NNNNOOOOTTTTEEEE
- Because only the normal framebuffer currently supports RGB mode, wwwwmmmmppppaaaacccckkkk
- should be called only while draw mode is NNNNOOOORRRRMMMMAAAALLLL. Use ggggeeeettttggggddddeeee to determine
- whether RGB mode is available in draw mode NNNNOOOORRRRMMMMAAAALLLL.
-
- On Impact and Infinite Reality only whole components can be masked. RGB
- and A can be completely masked or not masked at all.
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-